package com.baizhi.controller;

import com.baizhi.service.AudioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/audio")
public class AudioController {
    @Autowired(required = false)
    private AudioService audioService;


    @RequestMapping("/selectAll")
    public Map selectAll(int page,int limit,String audioName){
        return audioService.selectAll(page, limit, audioName);
    }
}
